Skip to content

docs: add integration guide for PrebidJS analytics#265

Open
dyachoksa wants to merge 1 commit intomasterfrom
docs/analytics-readme
Open

docs: add integration guide for PrebidJS analytics#265
dyachoksa wants to merge 1 commit intomasterfrom
docs/analytics-readme

Conversation

@dyachoksa
Copy link
Copy Markdown
Collaborator

Add documentation to the README explaining how to integrate the OptablePrebidAnalytics addon. Includes instructions and code examples for both script tag and NPM package usage.

Add documentation to the README explaining how to integrate the
OptablePrebidAnalytics addon. Includes instructions and code examples
for both script tag and NPM package usage.
optable.instance = new optable.SDK({ host: "dcn.customer.com", site: "my-site" });

const analytics = new optable.OptablePrebidAnalytics(optable.instance, {
analytics: true,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason behind that flag? cc @jrosendahl-opt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it's to disable actually sending the events sorry I missed it in previous PRs. Maybe we could improve the naming separately, eg sendEvents: bool which would default to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants